/**
 * 俄罗斯方块
 */

import { useState, useEffect } from 'react'

import './index.less'
import { Input } from 'tdesign-react'

const Tetris = (props: any) => {
  const [inputValue,setInputValue] = useState(0)
  const onInputValueChange = (event:any) => {
    setInputValue(Number(event))
  }
  // useEffect(() => {

  // },[inputValue])
  return <div className='tetris-app'>这是俄罗斯方块的入口文件
  <Input type="text" onChange={onInputValueChange} style={{width:200}}/>
  <div>
  </div>
  </div>
}

export default Tetris
